package com.stringdemo3;

import java.util.Scanner;

/**
 * @Auther: shiquan
 * @Date: 2024/10/20 - 10 - 20 -11:36
 */
public class StudentTest {
    public static void main(String[] args) {

        Student.teacherName="阿老师";

        Student s1 = new Student();
        s1.name="zhangsan";
        s1.age=23;
        s1.show1();
        System.out.println("--------");

        Student s2 = new Student();
        s2.name="lisi";
        s2.age=24;
        s2.show1();
    }
}
